<html>
    <head>
        <title>a page that pops up an print dialog</title>
        <script>
            print()
        </script>
    </head>
    <body>
        <h1>print</h1>
        <p>this is a page that pops up a print dialog</p>
    </body>
</html>

